package com.yuxin.spirngboot.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.yuxin.spirngboot.service.HelloService;

@RestController
public class HelloController {

	@Autowired
	HelloService helloService;

	@RequestMapping("quickhello")
	public String quickHello() {
		helloService.helloService();
		return "quick hello";
	}
}